package com.forest.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.forest.entity.SysAppInfo;

public interface SysAppInfoService extends IService<SysAppInfo> {
    /**
     * 根据appKey获取app信息.
     *
     * @param appKey
     * @return
     */
    SysAppInfo getByAppKey(String appKey);


    /**
     * 解密APP密钥.
     * @param appInfo       应用信息
     * @return
     */
    String decryptKey(SysAppInfo appInfo);
}
